#include "iConfig.hpp"

#include <glf/core/assert.hpp>

#include <glf/core/str.h>

#include <cstdarg>

namespace glf
{
	//this is new, so for backward compatibility assert are turned on by default 
	//if the various #define are meant to have active assert.
	bool gIsAssertEnabled = true;
#if GLF_AS_DLL
	void SetIsAssertEnabled(bool isEnable)
	{
		gIsAssertEnabled = isEnable;
	}
	bool IsAssertEnabled()
	{
		return gIsAssertEnabled;
	}
#endif
}